<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交平台 - 发现</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #4267B2;
            --primary-light: #E9EBF5;
            --secondary: #1DA1F2;
            --success: #28a745;
            --danger: #dc3545;
            --warning: #ffc107;
            --dark: #2D3436;
            --light: #F8F9FA;
            --gray: #636E72;
            --border: #DFE6E9;
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
            --shadow-hover: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background-color: #F5F7FA;
            color: var(--dark);
            line-height: 1.6;
        }
        
        /* 导航栏样式 */
        .navbar {
            background-color: white;
            box-shadow: var(--shadow);
            padding: 0.75rem 1rem;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .navbar-brand {
            font-weight: 700;
            color: var(--primary);
            font-size: 1.5rem;
        }
        
        .search-bar {
            flex: 1;
            max-width: 600px;
            position: relative;
            margin: 0 1rem;
        }
        
        .search-input {
            width: 100%;
            padding: 0.6rem 1rem 0.6rem 2.5rem;
            border-radius: 20px;
            border: 1px solid var(--border);
            background-color: var(--light);
            transition: all 0.2s;
        }
        
        .search-input:focus {
            outline: none;
            background-color: white;
            box-shadow: 0 0 0 2px var(--primary-light);
            border-color: var(--primary);
        }
        
        .search-icon {
            position: absolute;
            left: 0.8rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }
        
        .nav-link {
            color: var(--dark);
            margin-left: 0.5rem;
            margin-right: 0.5rem;
            font-weight: 500;
            transition: color 0.2s;
            padding: 0.5rem 0.75rem !important;
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--primary);
        }
        
        /* 主内容区 */
        .main-container {
            padding: 2rem 0;
        }
        
        /* 左侧导航 */
        .sidebar-left {
            position: sticky;
            top: 80px;
            height: calc(100vh - 80px);
            overflow-y: auto;
            padding-right: 1rem;
        }
        
        .sidebar-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .sidebar-menu li {
            margin-bottom: 0.25rem;
        }
        
        .sidebar-menu a {
            display: flex;
            align-items: center;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            color: var(--dark);
            text-decoration: none;
            transition: all 0.2s;
            font-weight: 500;
        }
        
        .sidebar-menu a:hover, .sidebar-menu a.active {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        .sidebar-menu a i {
            font-size: 1.25rem;
            margin-right: 0.75rem;
            width: 24px;
            text-align: center;
        }
        
        /* 中间内容区 */
        .content-feed {
            padding: 0 1rem;
        }
        
        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border);
        }
        
        .content-card {
            background-color: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            margin-bottom: 1.5rem;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .content-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }
        
        .card-content {
            padding: 1.25rem;
        }
        
        /* 右侧互动信息栏 */
        .sidebar-right {
            position: sticky;
            top: 80px;
            height: calc(100vh - 80px);
            overflow-y: auto;
            padding-left: 1rem;
        }
        
        .sidebar-widget {
            background-color: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            margin-bottom: 1.5rem;
            overflow: hidden;
        }
        
        .widget-header {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .widget-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin: 0;
            color: var(--dark);
        }
        
        .widget-content {
            padding: 0;
        }
        
        .widget-link {
            color: var(--primary);
            font-size: 0.9rem;
            text-decoration: none;
            font-weight: 500;
        }
        
        .widget-link:hover {
            color: #365899;
            text-decoration: underline;
        }
        
        /* 当前用户信息 */
        .user-profile {
            background-color: var(--primary-light);
            padding: 1.5rem 1.25rem;
            text-align: center;
        }
        
        .profile-avatar-large {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            border: 4px solid white;
            object-fit: cover;
            margin: 0 auto 1rem;
        }
        
        .profile-name-large {
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 0.25rem;
        }
        
        .profile-handle {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        
        .profile-bio {
            font-size: 0.9rem;
            margin-bottom: 1rem;
            line-height: 1.5;
        }
        
        .profile-stats {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .profile-stat {
            text-align: center;
        }
        
        .profile-stat-value {
            font-weight: 600;
            color: var(--primary);
            font-size: 1.1rem;
        }
        
        .profile-stat-label {
            color: var(--gray);
            font-size: 0.8rem;
        }
        
        .edit-profile-btn {
            background-color: white;
            color: var(--primary);
            border: 1px solid var(--primary);
            border-radius: 6px;
            padding: 0.4rem 1.25rem;
            font-weight: 500;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
            width: 100%;
        }
        
        .edit-profile-btn:hover {
            background-color: var(--primary);
            color: white;
        }
        
        /* 推荐用户 */
        .suggestion-item {
            display: flex;
            align-items: center;
            padding: 0.75rem 1.25rem;
            transition: background-color 0.2s;
        }
        
        .suggestion-item:hover {
            background-color: var(--light);
        }
        
        .suggestion-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 1rem;
        }
        
        .suggestion-info {
            flex: 1;
        }
        
        .suggestion-name {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0;
        }
        
        .suggestion-meta {
            color: var(--gray);
            font-size: 0.8rem;
        }
        
        .follow-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 6px;
            padding: 0.35rem 0.75rem;
            font-weight: 500;
            font-size: 0.85rem;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .follow-btn:hover {
            background-color: #365899;
        }
        
        .follow-btn.following {
            background-color: transparent;
            color: var(--dark);
            border: 1px solid var(--border);
        }
        
        .follow-btn.following:hover {
            background-color: var(--light);
            color: var(--danger);
            border-color: var(--danger);
        }
        
        /* 推荐文章 */
        .article-item {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
            transition: background-color 0.2s;
        }
        
        .article-item:last-child {
            border-bottom: none;
        }
        
        .article-item:hover {
            background-color: var(--light);
        }
        
        .article-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            line-height: 1.3;
            font-size: 0.95rem;
        }
        
        .article-meta {
            display: flex;
            align-items: center;
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        .article-author {
            display: flex;
            align-items: center;
        }
        
        .author-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            margin-right: 0.5rem;
        }
        
        .article-separator {
            margin: 0 0.5rem;
        }
        
        /* 图文内容 */
        .image-content-item {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
        }
        
        .image-content-item:last-child {
            border-bottom: none;
        }
        
        .image-content-wrapper {
            display: flex;
            gap: 0.75rem;
        }
        
        .content-image {
            width: 80px;
            height: 80px;
            border-radius: 6px;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .image-content-info {
            flex: 1;
        }
        
        .image-content-title {
            font-weight: 600;
            margin-bottom: 0.25rem;
            font-size: 0.95rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .image-content-stats {
            display: flex;
            align-items: center;
            font-size: 0.8rem;
            color: var(--gray);
            gap: 1rem;
        }
        
        .content-stat {
            display: flex;
            align-items: center;
        }
        
        .content-stat i {
            margin-right: 0.25rem;
            font-size: 0.85rem;
        }
        
        /* 热门话题和标签 */
        .topic-item {
            padding: 0.75rem 1.25rem;
            border-bottom: 1px solid var(--border);
            transition: background-color 0.2s;
            cursor: pointer;
        }
        
        .topic-item:last-child {
            border-bottom: none;
        }
        
        .topic-item:hover {
            background-color: var(--light);
        }
        
        .topic-name {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }
        
        .topic-stats {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        .tag-list {
            padding: 1rem 1.25rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .tag-item {
            background-color: var(--light);
            color: var(--primary);
            padding: 0.35rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            transition: all 0.2s;
            cursor: pointer;
        }
        
        .tag-item:hover {
            background-color: var(--primary);
            color: white;
        }
        
        /* 论坛和群组 */
        .forum-item, .group-item {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
            transition: background-color 0.2s;
        }
        
        .forum-item:last-child, .group-item:last-child {
            border-bottom: none;
        }
        
        .forum-item:hover, .group-item:hover {
            background-color: var(--light);
        }
        
        .forum-header, .group-header {
            display: flex;
            align-items: center;
            margin-bottom: 0.5rem;
        }
        
        .forum-icon, .group-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background-color: var(--primary-light);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 0.75rem;
            font-size: 1.25rem;
        }
        
        .forum-info, .group-info {
            flex: 1;
        }
        
        .forum-name, .group-name {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0;
        }
        
        .forum-desc, .group-desc {
            font-size: 0.85rem;
            color: var(--gray);
            margin-bottom: 0.5rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .forum-stats, .group-stats {
            display: flex;
            font-size: 0.8rem;
            color: var(--gray);
            gap: 1rem;
        }
        
        /* 活动 */
        .event-item {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
        }
        
        .event-item:last-child {
            border-bottom: none;
        }
        
        .event-date {
            background-color: var(--warning);
            color: var(--dark);
            width: 56px;
            text-align: center;
            border-radius: 6px;
            padding: 0.25rem 0;
            margin-right: 0.75rem;
            flex-shrink: 0;
        }
        
        .event-month {
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            line-height: 1;
        }
        
        .event-day {
            font-size: 1.25rem;
            font-weight: 700;
            line-height: 1;
        }
        
        .event-wrapper {
            display: flex;
        }
        
        .event-info {
            flex: 1;
        }
        
        .event-title {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }
        
        .event-location, .event-time {
            display: flex;
            align-items: center;
            font-size: 0.8rem;
            color: var(--gray);
            margin-bottom: 0.25rem;
        }
        
        .event-location i, .event-time i {
            margin-right: 0.25rem;
            font-size: 0.85rem;
        }
        
        .event-attendees {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        /* 通知 */
        .notification-item {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
            transition: background-color 0.2s;
        }
        
        .notification-item:last-child {
            border-bottom: none;
        }
        
        .notification-item.unread {
            background-color: rgba(66, 103, 178, 0.05);
        }
        
        .notification-item:hover {
            background-color: var(--light);
        }
        
        .notification-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.25rem;
        }
        
        .notification-sender {
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .notification-time {
            color: var(--gray);
            font-size: 0.8rem;
        }
        
        .notification-content {
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        
        /* 赞助商 */
        .sponsor-item {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid var(--border);
        }
        
        .sponsor-item:last-child {
            border-bottom: none;
        }
        
        .sponsor-badge {
            display: inline-block;
            background-color: var(--primary-light);
            color: var(--primary);
            font-size: 0.75rem;
            padding: 0.15rem 0.5rem;
            border-radius: 4px;
            margin-bottom: 0.5rem;
        }
        
        .sponsor-image {
            width: 100%;
            height: 120px;
            object-fit: contain;
            margin-bottom: 0.75rem;
        }
        
        .sponsor-name {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 0.25rem;
        }
        
        .sponsor-desc {
            font-size: 0.85rem;
            color: var(--gray);
            margin-bottom: 0.75rem;
        }
        
        .sponsor-cta {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            text-decoration: none;
            font-size: 0.85rem;
            padding: 0.35rem 0.75rem;
            border-radius: 6px;
            font-weight: 500;
            transition: background-color 0.2s;
        }
        
        .sponsor-cta:hover {
            background-color: #365899;
            color: white;
        }
        
        /* 查看更多链接 */
        .view-more {
            display: block;
            padding: 1rem 1.25rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            text-align: center;
            transition: background-color 0.2s;
        }
        
        .view-more:hover {
            background-color: var(--primary-light);
            color: var(--primary);
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .sidebar-left .menu-text {
                display: none;
            }
            
            .sidebar-left .sidebar-menu a {
                justify-content: center;
                padding: 0.75rem;
            }
            
            .sidebar-left .sidebar-menu a i {
                margin-right: 0;
            }
        }
        
        @media (max-width: 992px) {
            .sidebar-right {
                display: none;
            }
            
            .search-bar {
                max-width: 300px;
            }
        }
        
        @media (max-width: 768px) {
            .search-bar {
                display: none;
            }
            
            .sidebar-left {
                display: none;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg">
        <div class="container">
            <a class="navbar-brand" href="#">社交平台</a>
            
            <div class="search-bar d-none d-md-block">
                <i class="fas fa-search search-icon"></i>
                <input type="text" class="search-input" placeholder="搜索内容、用户或话题...">
            </div>
            
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <i class="fas fa-bars"></i>
            </button>
            
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#"><i class="fas fa-home me-1"></i> 首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" aria-current="page" href="#"><i class="fas fa-compass me-1"></i> 发现</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#"><i class="fas fa-bell me-1"></i> 通知</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#"><i class="fas fa-envelope me-1"></i> 消息</a>
                    </li>
                </ul>
                
                <ul class="navbar-nav ms-3">
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown">
                            <img src="https://picsum.photos/100/100?random=1" alt="用户头像" class="rounded-circle" style="width: 36px; height: 36px; object-fit: cover;">
                        </a>
                        <ul class="dropdown-menu dropdown-menu-end">
                            <li><a class="dropdown-item" href="#"><i class="fas fa-user me-2"></i> 个人中心</a></li>
                            <li><a class="dropdown-item" href="#"><i class="fas fa-bookmark me-2"></i> 我的收藏</a></li>
                            <li><a class="dropdown-item" href="#"><i class="fas fa-cog me-2"></i> 设置</a></li>
                            <li><hr class="dropdown-divider"></li>
                            <li><a class="dropdown-item" href="#"><i class="fas fa-sign-out-alt me-2"></i> 退出登录</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    
    <div class="container main-container">
        <div class="row">
            <!-- 左侧导航栏 -->
            <div class="col-lg-2 d-none d-lg-block sidebar-left">
                <ul class="sidebar-menu">
                    <li><a href="#"><i class="fas fa-home"></i> <span class="menu-text">首页</span></a></li>
                    <li><a href="#" class="active"><i class="fas fa-compass"></i> <span class="menu-text">发现</span></a></li>
                    <li><a href="#"><i class="fas fa-bell"></i> <span class="menu-text">通知</span></a></li>
                    <li><a href="#"><i class="fas fa-envelope"></i> <span class="menu-text">消息</span></a></li>
                    <li><a href="#"><i class="fas fa-bookmark"></i> <span class="menu-text">收藏</span></a></li>
                    <li><a href="#"><i class="fas fa-newspaper"></i> <span class="menu-text">文章</span></a></li>
                    <li><a href="#"><i class="fas fa-users"></i> <span class="menu-text">群组</span></a></li>
                    <li><a href="#"><i class="fas fa-calendar-alt"></i> <span class="menu-text">活动</span></a></li>
                    <li><a href="#"><i class="fas fa-user"></i> <span class="menu-text">个人资料</span></a></li>
                    <li><a href="#"><i class="fas fa-cog"></i> <span class="menu-text">设置</span></a></li>
                </ul>
            </div>
            
            <!-- 中间内容区 -->
            <div class="col-lg-6 content-feed">
                <h2 class="section-title">推荐内容</h2>
                
                <!-- 示例内容卡片 -->
                <div class="content-card">
                    <div class="card-content">
                        <h3>探索城市中的隐藏宝藏</h3>
                        <p>在繁华的都市中，有许多不为人知的角落等待探索。本文将带你发现城市中的秘密花园、特色小店和历史遗迹...</p>
                    </div>
                </div>
                
                <div class="content-card">
                    <div class="card-content">
                        <h3>年度科技峰会精彩回顾</h3>
                        <p>今年的科技峰会汇集了全球顶尖创新者，人工智能、区块链和可持续技术成为讨论焦点...</p>
                    </div>
                </div>
                
                <div class="content-card">
                    <div class="card-content">
                        <h3>周末徒步路线推荐</h3>
                        <p>远离城市喧嚣，这些徒步路线适合各个水平的徒步爱好者，让你在大自然中放松身心...</p>
                    </div>
                </div>
            </div>
            
            <!-- 右侧各种推荐内容 -->
            <div class="col-lg-4 d-none d-lg-block sidebar-right">
                <!-- 当前用户信息 -->
                <div class="sidebar-widget">
                    <div class="user-profile">
                        <img src="https://picsum.photos/100/100?random=1" alt="用户头像" class="profile-avatar-large">
                        <h3 class="profile-name-large">张小明</h3>
                        <p class="profile-handle">@zhangxiaoming</p>
                        <p class="profile-bio">旅行爱好者 | 摄影发烧友 | 美食探索家</p>
                        
                        <div class="profile-stats">
                            <div class="profile-stat">
                                <div class="profile-stat-value">248</div>
                                <div class="profile-stat-label">帖子</div>
                            </div>
                            <div class="profile-stat">
                                <div class="profile-stat-value">1.2k</div>
                                <div class="profile-stat-label">关注</div>
                            </div>
                            <div class="profile-stat">
                                <div class="profile-stat-value">3.5k</div>
                                <div class="profile-stat-label">粉丝</div>
                            </div>
                        </div>
                        
                        <button class="edit-profile-btn">编辑资料</button>
                    </div>
                </div>
                
                <!-- 推荐用户 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">推荐关注</h3>
                        <a href="#" class="widget-link">查看全部</a>
                    </div>
                    <div class="widget-content">
                        <div class="suggestion-item">
                            <img src="https://picsum.photos/100/100?random=201" alt="摄影爱好者头像" class="suggestion-avatar">
                            <div class="suggestion-info">
                                <p class="suggestion-name">摄影爱好者</p>
                                <p class="suggestion-meta">分享精彩瞬间 · 128位共同好友</p>
                            </div>
                            <button class="follow-btn">关注</button>
                        </div>
                        <div class="suggestion-item">
                            <img src="https://picsum.photos/100/100?random=202" alt="健身教练王头像" class="suggestion-avatar">
                            <div class="suggestion-info">
                                <p class="suggestion-name">健身教练王</p>
                                <p class="suggestion-meta">健身达人 · 你关注的5人也关注了他</p>
                            </div>
                            <button class="follow-btn">关注</button>
                        </div>
                        <div class="suggestion-item">
                            <img src="https://picsum.photos/100/100?random=203" alt="音乐发烧友头像" class="suggestion-avatar">
                            <div class="suggestion-info">
                                <p class="suggestion-name">音乐发烧友</p>
                                <p class="suggestion-meta">独立音乐人 · 推荐给你</p>
                            </div>
                            <button class="follow-btn">关注</button>
                        </div>
                    </div>
                </div>
                
                <!-- 推荐文章 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">推荐文章</h3>
                        <a href="#" class="widget-link">更多文章</a>
                    </div>
                    <div class="widget-content">
                        <div class="article-item">
                            <h4 class="article-title">如何利用周末时间提升个人技能</h4>
                            <div class="article-meta">
                                <div class="article-author">
                                    <img src="https://picsum.photos/100/100?random=301" alt="作者头像" class="author-avatar">
                                    <span>生活达人</span>
                                </div>
                                <span class="article-separator">•</span>
                                <span>3天前</span>
                            </div>
                        </div>
                        <div class="article-item">
                            <h4 class="article-title">数字游民指南：如何在旅行中保持高效工作</h4>
                            <div class="article-meta">
                                <div class="article-author">
                                    <img src="https://picsum.photos/100/100?random=302" alt="作者头像" class="author-avatar">
                                    <span>远程工作者</span>
                                </div>
                                <span class="article-separator">•</span>
                                <span>1周前</span>
                            </div>
                        </div>
                        <div class="article-item">
                            <h4 class="article-title">城市园林设计中的生态理念与实践</h4>
                            <div class="article-meta">
                                <div class="article-author">
                                    <img src="https://picsum.photos/100/100?random=303" alt="作者头像" class="author-avatar">
                                    <span>景观设计师</span>
                                </div>
                                <span class="article-separator">•</span>
                                <span>2周前</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 图文内容 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">热门图文</h3>
                        <a href="#" class="widget-link">查看全部</a>
                    </div>
                    <div class="widget-content">
                        <div class="image-content-item">
                            <div class="image-content-wrapper">
                                <img src="https://picsum.photos/200/200?random=401" alt="山间云海" class="content-image">
                                <div class="image-content-info">
                                    <h4 class="image-content-title">黄山云海日出，大自然的壮丽奇观</h4>
                                    <div class="image-content-stats">
                                        <div class="content-stat">
                                            <i class="far fa-heart"></i> 342
                                        </div>
                                        <div class="content-stat">
                                            <i class="far fa-comment"></i> 48
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="image-content-item">
                            <div class="image-content-wrapper">
                                <img src="https://picsum.photos/200/200?random=402" alt="美食拼盘" class="content-image">
                                <div class="image-content-info">
                                    <h4 class="image-content-title">自制健康沙拉拼盘，营养美味又简单</h4>
                                    <div class="image-content-stats">
                                        <div class="content-stat">
                                            <i class="far fa-heart"></i> 189
                                        </div>
                                        <div class="content-stat">
                                            <i class="far fa-comment"></i> 23
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 热门话题 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">热门话题</h3>
                        <a href="#" class="widget-link">更多话题</a>
                    </div>
                    <div class="widget-content">
                        <div class="topic-item">
                            <h4 class="topic-name"># 人工智能发展与未来趋势</h4>
                            <p class="topic-stats">8.5k 条讨论 · 热门</p>
                        </div>
                        <div class="topic-item">
                            <h4 class="topic-name"># 城市中的绿色空间</h4>
                            <p class="topic-stats">3.2k 条讨论 · 上升中</p>
                        </div>
                        <div class="topic-item">
                            <h4 class="topic-name"># 健康饮食与生活方式</h4>
                            <p class="topic-stats">5.7k 条讨论 · 热门</p>
                        </div>
                    </div>
                </div>
                
                <!-- 热门标签 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">热门标签</h3>
                    </div>
                    <div class="tag-list">
                        <div class="tag-item">旅行</div>
                        <div class="tag-item">摄影</div>
                        <div class="tag-item">美食</div>
                        <div class="tag-item">科技</div>
                        <div class="tag-item">健身</div>
                        <div class="tag-item">阅读</div>
                        <div class="tag-item">电影</div>
                        <div class="tag-item">音乐</div>
                        <div class="tag-item">设计</div>
                        <div class="tag-item">编程</div>
                        <div class="tag-item">职场</div>
                        <div class="tag-item">教育</div>
                    </div>
                </div>
                
                <!-- 推荐论坛 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">推荐论坛</h3>
                        <a href="#" class="widget-link">浏览全部</a>
                    </div>
                    <div class="widget-content">
                        <div class="forum-item">
                            <div class="forum-header">
                                <div class="forum-icon">
                                    <i class="fas fa-laptop"></i>
                                </div>
                                <div class="forum-info">
                                    <h4 class="forum-name">科技爱好者论坛</h4>
                                </div>
                            </div>
                            <p class="forum-desc">讨论最新科技产品、技术趋势和数码生活方式</p>
                            <div class="forum-stats">
                                <span>12.5k 成员</span>
                                <span>328 今日话题</span>
                            </div>
                        </div>
                        <div class="forum-item">
                            <div class="forum-header">
                                <div class="forum-icon" style="background-color: #e3f2fd; color: #1976d2;">
                                    <i class="fas fa-plane"></i>
                                </div>
                                <div class="forum-info">
                                    <h4 class="forum-name">旅行者社区</h4>
                                </div>
                            </div>
                            <p class="forum-desc">分享旅行经验、攻略和目的地推荐</p>
                            <div class="forum-stats">
                                <span>8.3k 成员</span>
                                <span>156 今日话题</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 推荐群组 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">活跃群组</h3>
                        <a href="#" class="widget-link">查看全部</a>
                    </div>
                    <div class="widget-content">
                        <div class="group-item">
                            <div class="group-header">
                                <div class="group-icon" style="background-color: #e8f5e9; color: #2e7d32;">
                                    <i class="fas fa-camera"></i>
                                </div>
                                <div class="group-info">
                                    <h4 class="group-name">城市摄影联盟</h4>
                                </div>
                            </div>
                            <p class="group-desc">摄影爱好者交流平台，定期组织外拍活动</p>
                            <div class="group-stats">
                                <span>2.4k 成员</span>
                                <span>42 今日活动</span>
                            </div>
                        </div>
                        <div class="group-item">
                            <div class="group-header">
                                <div class="group-icon" style="background-color: #fff3e0; color: #ef6c00;">
                                    <i class="fas fa-utensils"></i>
                                </div>
                                <div class="group-info">
                                    <h4 class="group-name">美食探索家</h4>
                                </div>
                            </div>
                            <p class="group-desc">分享美食体验，寻找城市隐藏美食</p>
                            <div class="group-stats">
                                <span>3.1k 成员</span>
                                <span>78 今日活动</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 近期活动 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">近期活动</h3>
                        <a href="#" class="widget-link">更多活动</a>
                    </div>
                    <div class="widget-content">
                        <div class="event-item">
                            <div class="event-wrapper">
                                <div class="event-date">
                                    <div class="event-month">六月</div>
                                    <div class="event-day">15</div>
                                </div>
                                <div class="event-info">
                                    <h4 class="event-title">城市马拉松比赛</h4>
                                    <div class="event-time">
                                        <i class="far fa-clock"></i> 上午8:00
                                    </div>
                                    <div class="event-location">
                                        <i class="fas fa-map-marker-alt"></i> 城市体育中心
                                    </div>
                                    <div class="event-attendees">
                                        <i class="fas fa-users"></i> 已有 1,258 人报名
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="event-item">
                            <div class="event-wrapper">
                                <div class="event-date">
                                    <div class="event-month">六月</div>
                                    <div class="event-day">20</div>
                                </div>
                                <div class="event-info">
                                    <h4 class="event-title">科技创新博览会</h4>
                                    <div class="event-time">
                                        <i class="far fa-clock"></i> 上午9:30
                                    </div>
                                    <div class="event-location">
                                        <i class="fas fa-map-marker-alt"></i> 国际会展中心
                                    </div>
                                    <div class="event-attendees">
                                        <i class="fas fa-users"></i> 已有 3,782 人报名
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 通知 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">最新通知</h3>
                        <a href="#" class="widget-link">全部通知</a>
                    </div>
                    <div class="widget-content">
                        <div class="notification-item unread">
                            <div class="notification-header">
                                <div class="notification-sender">系统通知</div>
                                <div class="notification-time">10分钟前</div>
                            </div>
                            <div class="notification-content">你的帖子获得了精选推荐</div>
                        </div>
                        <div class="notification-item unread">
                            <div class="notification-header">
                                <div class="notification-sender">摄影爱好者</div>
                                <div class="notification-time">1小时前</div>
                            </div>
                            <div class="notification-content">邀请你参加本周六的摄影活动</div>
                        </div>
                        <div class="notification-item">
                            <div class="notification-header">
                                <div class="notification-sender">城市马拉松组委会</div>
                                <div class="notification-time">昨天</div>
                            </div>
                            <div class="notification-content">你的马拉松报名已确认</div>
                        </div>
                    </div>
                </div>
                
                <!-- 赞助商 -->
                <div class="sidebar-widget">
                    <div class="widget-header">
                        <h3 class="widget-title">合作伙伴</h3>
                    </div>
                    <div class="widget-content">
                        <div class="sponsor-item">
                            <span class="sponsor-badge">赞助商</span>
                            <img src="https://picsum.photos/400/200?random=901" alt="户外装备品牌" class="sponsor-image">
                            <h4 class="sponsor-name">探索户外装备</h4>
                            <p class="sponsor-desc">专业户外装备提供商，为探险者提供可靠装备</p>
                            <a href="#" class="sponsor-cta">了解更多</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 关注按钮功能
            const followButtons = document.querySelectorAll('.follow-btn');
            followButtons.forEach(button => {
                button.addEventListener('click', function() {
                    if (this.classList.contains('following')) {
                        // 已关注状态，点击后取消关注
                        this.classList.remove('following');
                        this.textContent = '关注';
                    } else {
                        // 未关注状态，点击后关注
                        this.classList.add('following');
                        this.textContent = '已关注';
                    }
                });
            });
            
            // 通知标记为已读
            const notificationItems = document.querySelectorAll('.notification-item.unread');
            notificationItems.forEach(item => {
                item.addEventListener('click', function() {
                    this.classList.remove('unread');
                });
            });
            
            // 标签点击效果
            const tagItems = document.querySelectorAll('.tag-item');
            tagItems.forEach(tag => {
                tag.addEventListener('click', function() {
                    this.classList.toggle('active');
                    if (this.classList.contains('active')) {
                        this.style.backgroundColor = 'var(--primary)';
                        this.style.color = 'white';
                    } else {
                        this.style.backgroundColor = 'var(--light)';
                        this.style.color = 'var(--primary)';
                    }
                });
            });
        });
    </script>
</body>
</html>


